//
// Created by 原帅 on 2022/10/16.
//

#include "RLinkInfo.h"


RLinkInfo::RLinkInfo(int fd, const sockaddr_in &remoteaddrinfo) : fd(fd), remoteAddrInfo(remoteaddrinfo) {}

int RLinkInfo::getFd() const {
    return fd;
}

const sockaddr_in &RLinkInfo::getRemoteAddrInfo() const {
    return remoteAddrInfo;
}
